/* page onreadystatechange show loading gif */
!(function () {
    var _LoadingHtml = '<div id="pageLoadingEle" class="pageLoadingEle">' +
        '<span class="pageLoadingIcon"><em class="plIcon"></em><small>努力奔跑中...</small></span>' +
        '<svg class="load_ellipse" xmlns="http://www.w3.org/2000/svg" version="1.1">\n' +
        '\t\t\t<ellipse cx="26" cy="10" rx="26" ry="10" style="fill:#ddd;stroke:none;"></ellipse>\n' +
        '  </svg>'+
        '</div>';
    document.write(_LoadingHtml);
    document.onreadystatechange = completeLoading;
    function completeLoading() {
        if (document.readyState === "complete") {
            var loadingMask = document.querySelector('#pageLoadingEle');
            loadingMask.parentNode.removeChild(loadingMask);
        }
    }
})()